package day06.Lambda;

import org.junit.Test;

public class Animal {

    public String  fhStr(String str)
    {
        return str+"===返回的值";
    }

    @Test
    public void test1()
    {
        FntInterfaceTest fit = Animal::fhStr;
        String s = fit.getStringInfo(new Animal(),"下司犬");
        System.out.println(s);
    }

    @Test
    public void test2()
    {

    }

}
